/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.vo;

import com.ykht.proj.activity.Enum.AgreementStatusEnum;
import com.ykht.proj.activity.Enum.PlanStatusEnum;
import com.ykht.proj.activity.constant.CardConstant;
import com.ykht.proj.activity.entity.VBrandAgreement;
import com.ykht.proj.activity.entity.VDiscountPlan;
import com.ykht.proj.activity.entity.VDiscountPlanShop;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * 优惠方案表
 *
 * @author csg
 * @date 2021-05-18 14:26:34
 */

@Data
@ApiModel(value = "优惠方案详情")
@ToString
@NoArgsConstructor
public class VPlanInfoReq {
	@ApiModelProperty("门店ids")
	private List<Long> shopIds = new ArrayList<>();
	@ApiModelProperty("优惠方案")
	private VBrandAgreement ba = new VBrandAgreement();
	@ApiModelProperty("优惠方案")
	private VDiscountPlan dp = new VDiscountPlan();
	@ApiModelProperty("优惠方案")
	private VDiscountPlanShop dps = new VDiscountPlanShop();

	public VPlanInfoReq(List<Long> shopIds){
		this.setShopIds(shopIds);
		ba.setAgreementStatus(AgreementStatusEnum.AT_WORK.getValue());
		dp.setPlanStatus(PlanStatusEnum.AT_WORK.getValue());
	}
}